# Cambodia Player Details

> `GET /api/esports/kh/players/{player_id}`: Esports endpoint of the Rone Arena API.

One player of the Cambodian professional league: **name**, **role**, **photo**, current **team**, **profile** (`full_name`, `based`...), **team_history** (team and period) and **stats**, the season and career totals (heroes played, MVP points, matches and games played, kills, assists, gold, gold per minute, damage dealt, damage taken and tower damage). An unknown **player_id** returns 404 `PLAYER_NOT_FOUND`. Data is cached for 5 minutes.

## Request

`GET https://arena.rone.dev/api/esports/kh/players/{player_id}`

### Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `player_id` | path | string | yes |  | **player_id** from the team endpoint, e.g. `d7`. |

### Example

```bash
curl -X GET 'https://arena.rone.dev/api/esports/kh/players/{player_id}'
```

## Example response

```json
{
  "player_id": "d7",
  "name": "D7",
  "role": "Roam",
  "photo": "https://wsrv.nl/?url=https://arena.rone.dev/api/esports/kh/images/players/D7.webp",
  "team": {
    "team_id": "vigor-apex",
    "name": "VGR",
    "full_name": "Vigor Apex",
    "logo": "https://wsrv.nl/?url=https%3A%2F%2Fexample.com%2Fteams%2Fevos.png"
  },
  "profile": {
    "full_name": "D7",
    "based": "Cambodia"
  },
  "team_history": [
    {
      "team_id": "vigor-apex",
      "name": "Vigor Apex",
      "period": "2026 \u2013 Present"
    }
  ],
  "stats": [
    {
      "label": "MPL KH S11",
      "heroes_played": 4,
      "mvp_points": 0,
      "matches_played": 3,
      "games_played": 8,
      "kills": 5,
      "assists": 68,
      "gold": 65592,
      "gold_per_min": 555,
      "damage_dealt": 189093,
      "damage_taken": 852688,
      "tower_damage": 2252
    }
  ]
}
```

## Links

- Try it in the playground: https://arena.rone.dev/web/esports/kh/players/{player_id}
- Esports endpoints: https://arena.rone.dev/web/esports.md
- OpenAPI schema: https://arena.rone.dev/api/openapi.json
